package com.example.nonacademic_education.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author xinmiao
 * @description
 * @date 2023/4/18 16:41
 */
@Data
@TableName("project")
public class Project {
    private static final long serialVersionUID = 1L;
    /**
     * ID
     */
    @TableId
    private Long id;
    private String name;//培训项目名
    private Integer year;//培训年度
//    private Long adminId;//二级管理员Id
    private String adminName;//负责人姓名
    private Long departmentId;//所属培训机构Id
    private String note;//备注信息
    private Integer isDel;//逻辑删除字段

    private String contactName;
    private String contactPhone;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date startDate;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date endDate;
    private String establishType;
    private String establishAddress;
    private String charge;
    private String tuitionFee;
    private String trainingNum;
    private String cooperation;
}
